package com.aliyun.heiyu.powermaster.server.rotary.exception;

import com.aliyun.heiyu.powermaster.server.rotary.enums.AirExceptionEnum;

/**
 * @Description 空调异常处理
 * @Author shun.zhang
 * @Date 2019/12/26 10:29
 **/
public class AirException extends RuntimeException {
    private int code;
    private String msg;

    public AirException(AirExceptionEnum airExceptionEnum) {
        super(airExceptionEnum.getMsg());
    }

    public AirException(String msg) {
        super(msg);
    }

}
